package com.cgs.query.configuration

import com.cgs.query.handler.ParameterHandler
import com.cgs.query.handler.ResultSetHandler
import com.cgs.query.handler.SecurityHandler

/**配置中心*/
class QueryConfiguration(
        val configProperties: ConfigProperties,
        val parameterHandler: ParameterHandler,
        val resultSetHandler: ResultSetHandler
) {
    var securityHandler: SecurityHandler? = null
}

class ConfigProperties {

    var queryTimeout: Int = 3

    var connectionTimeout: Int = 3

    var printSql = true

}